﻿using System.Threading.Tasks;
using Blog.ThirdPartyCallLogs;
using Castle.DynamicProxy;

namespace Blog.Interceptors
{
    public interface IThirdPartyCallHelper
    {
        ThirdPartySystemCallLog CreateThirdPartySystemCallLog(IInvocation invocation);

        Task SaveAsync(ThirdPartySystemCallLog thirdPartySystemCallLog);

        void Save(ThirdPartySystemCallLog thirdPartySystemCallLog);
    }
}